<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<css file="__PUBLIC__/Css/public.css"/>	
	<script type="text/javascript">
		window.UEDITOR_HOME_URL = '__ROOT__/Data/Ueditor/';
		window.onload = function(){			
			window.UEDITOR_CONFIG.initialFrameWidth = 530;
			window.UEDITOR_CONFIG.initialFrameHeight = 350;
			window.UEDITOR_CONFIG.imageUrl = "{:U(GROUP_NAME . '/Post/upload')}";
			window.UEDITOR_CONFIG.imagePath = '__ROOT__/Upload/';
			UE.getEditor('content');
		}
	</script>
	<js file="__ROOT__/Data/Ueditor/ueditor.config.js"/>
	<js file="__ROOT__/Data/Ueditor/ueditor.all.min.js"/>	
</head>
<body>
	<form action="__GROUP__/Post/add" method="post">
            <table class="table">
                <tr>
                    <th colspan="2">
                        发布文章
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        标题
                    </td>
                    <td>
                        <input type="text" name="title" style="width:450px"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        分类
                    </td>
                    <td>                        
                        <select name="c_id">
                            <volist name='cates' id='vo'>
                                <option value="{$vo['id']}">{$vo['html']}{$vo['c_name']}</option>
                            </volist>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        排序
                    </td>
                    <td>
                        <input type="text" name="sort" value="100"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        点击数
                    </td>
                    <td>
                        <input type="text" name="click" value=""/>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        关键字
                    </td>
                    <td>
                        <input type="text" name="keyword" value=""/>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        描述
                    </td>
                    <td>
                        <input type="text" name="description" value=""/>
                    </td>
                </tr>
                 <tr>
                    <td align="right">
                        标签
                    </td>
                    <td>
                        <input type="text" name="tag" value=""/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <textarea name="content" id="content"></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                       <input type="submit" value="添加"/>
                       <input type="reset" value="重填"/>
                    </td>
                </tr>
            </table>
        </form>



</body>

</html>